package com.ruoyi.admin.service;

import com.ruoyi.admin.domain.RewardExchangeVO;
import com.ruoyi.common.core.domain.entity.RewardExchange;

import java.util.List;

/**
 * 兑换记录Service接口
 * 
 * @author xukai
 * @date 2024-12-22
 */
public interface IRewardExchangeService 
{
    /**
     * 查询兑换记录
     * 
     * @param id 兑换记录主键
     * @return 兑换记录
     */
    public RewardExchange selectRewardExchangeById(Long id);

    /**
     * 查询兑换记录列表
     * 
     * @param rewardExchange 兑换记录
     * @return 兑换记录集合
     */
    public List<RewardExchangeVO> selectRewardExchangeList(RewardExchange rewardExchange);

    /**
     * 新增兑换记录
     * 
     * @param rewardExchange 兑换记录
     * @return 结果
     */
    public int insertRewardExchange(RewardExchange rewardExchange);

    /**
     * 修改兑换记录
     * 
     * @param rewardExchange 兑换记录
     * @return 结果
     */
    public int updateRewardExchange(RewardExchange rewardExchange);

    /**
     * 批量删除兑换记录
     * 
     * @param ids 需要删除的兑换记录主键集合
     * @return 结果
     */
    public int deleteRewardExchangeByIds(Long[] ids);

    /**
     * 删除兑换记录信息
     * 
     * @param id 兑换记录主键
     * @return 结果
     */
    public int deleteRewardExchangeById(Long id);
}
